home *** CD-ROM | disk | FTP | other *** search
/ This Disc Bytes! / Power Computing - The Disc 2 - This Disc Bytes.ISO / mac / CodeWarrior 7 Lite for 68K / MacOS Support / Headers / Universal Headers / CRMSerialDevices.h < prev    next >
Text File  |  1995-07-06  |  2KB  |  88 lines

  1. /*
  2.      File:        CRMSerialDevices.h
  3.  
  4.      Contains:    Communications Resource Manager Serial Device interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Package:    Universal Interfaces 2.1 in “MPW Latest” on ETO #18
  8.  
  9.      Copyright:    © 1984-1995 by Apple Computer, Inc.
  10.                  All rights reserved.
  11.  
  12.      Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13.                  stack.  Include the file and version information (from above)
  14.                  in the problem description and send to:
  15.                      Internet:    apple.bugs@applelink.apple.com
  16.                      AppleLink:    APPLE.BUGS
  17.  
  18. */
  19.  
  20. #ifndef __CRMSERIALDEVICES__
  21. #define __CRMSERIALDEVICES__
  22.  
  23.  
  24. #ifndef __TYPES__
  25. #include <Types.h>
  26. #endif
  27. /*    #include <ConditionalMacros.h>                                */
  28.  
  29. #ifdef __cplusplus
  30. extern "C" {
  31. #endif
  32.  
  33. #if PRAGMA_ALIGN_SUPPORTED
  34. #pragma options align=mac68k
  35. #endif
  36.  
  37. #if PRAGMA_IMPORT_SUPPORTED
  38. #pragma import on
  39. #endif
  40.  
  41.  
  42. enum {
  43. /*     for the crmDeviceType field of the CRMRec data structure    */
  44.     crmSerialDevice                = 1,
  45. /*    version of the CRMSerialRecord below    */
  46.     curCRMSerRecVers            = 1
  47. };
  48.  
  49. /* Maintains compatibility w/ apps & tools that expect an old style icon    */
  50. struct CRMIconRecord {
  51.     long                            oldIcon[32];                /* ICN#    */
  52.     long                            oldMask[32];
  53.     Handle                            theSuite;                    /* Handle to an IconSuite    */
  54.     long                            reserved;
  55. };
  56. typedef struct CRMIconRecord CRMIconRecord;
  57.  
  58. typedef CRMIconRecord *CRMIconPtr, **CRMIconHandle;
  59.  
  60. struct CRMSerialRecord {
  61.     short                            version;
  62.     StringHandle                    inputDriverName;
  63.     StringHandle                    outputDriverName;
  64.     StringHandle                    name;
  65.     CRMIconHandle                    deviceIcon;
  66.     long                            ratedSpeed;
  67.     long                            maxSpeed;
  68.     long                            reserved;
  69. };
  70. typedef struct CRMSerialRecord CRMSerialRecord;
  71.  
  72. typedef CRMSerialRecord *CRMSerialPtr;
  73.  
  74.  
  75. #if PRAGMA_IMPORT_SUPPORTED
  76. #pragma import off
  77. #endif
  78.  
  79. #if PRAGMA_ALIGN_SUPPORTED
  80. #pragma options align=reset
  81. #endif
  82.  
  83. #ifdef __cplusplus
  84. }
  85. #endif
  86.  
  87. #endif /* __CRMSERIALDEVICES__ */
  88.